/*index的css样式*/
/*格式化样式*/
* {
    box-sizing: border-box;
}

html, body, figure {
    border: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    /*font-family:helvetica;*/
}

body {
    font-size: 18px;
}

.neirong {
    background: white;
}

a {
    text-decoration: none;
    color: black;
    cursor: pointer;
}

/*首页轮播图*/
.carousel {
    width: 100%;
    height: 6rem;
    position: relative;
    max-width: 1270px;
    margin: 0 auto;
    /*top: 300px;*/
    cursor: pointer;
    z-index: -1;
}

.carousel .carouselImg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all .5s;
}

.show {
    opacity: 1 !important;
}

.back-next {
    width: 100%;
    padding: 20px;
    position: absolute;
    display: flex;
    cursor: pointer;
    justify-content: space-between;
    font-weight: 900;
    top: 50%;
}

.back-next span {
    font-size: 0.3rem;
    opacity: 0;
}

.carousel .text {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-weight: 900;
    font-size: 0.3rem;
    color: red;
}

/*nav*/
nav {
    width: 98%;
    height: 0.8rem;
    min-height: 50px;
    margin: 0 auto;
    background: white;
    border-bottom: 1px solid #999;
    max-width: 1270px;
    min-width: 1000px;
    display: flex;
    padding: 0.1rem 0;
    font-size: 0.18rem;
    justify-content: space-between;
}

nav div {
    display: flex;
}

nav div a {
    display: inline-block;
    align-items: center;
    height: 100%;
    margin: 0 10px;
    line-height: 55px;
}

nav div img {
    position: relative;
    margin-right: 20px;

    transition: all .5s;
}

nav div a:hover {
    text-decoration: underline;
}

.hidden {
    /*display: none;*/
    opacity: 0;
    width: 0;
    height: 0;
}

.nav {
    position: fixed;
    top: 0;
    width: 1272px;
    height: 80px;
    left: 50%;
    margin-left: -6.36rem;
}

/*主体*/
.container {
    margin: 0 auto;
    width: 100%;
    background: white;
    max-width: 1350px;
}

.container .shizhuang {
    display: flex;
    justify-content: space-around;
    padding: 0.18rem;
    margin-top: 0.5rem;
}

.container .shizhuang .jianjie {
    width: 30%;
    height: 6rem;
}

.container .shizhuang .jianjie .jianjie_img {
    width: 100%;
}

.container .shizhuang .jianjie .jianjie_text {
    width: 100%;
    height: 45.68%;
    background-color: black;
    margin-bottom: 0.18rem;
    color: white;
    padding-top: 0.6rem;
    text-align: center;
    font-size: 0.28rem;
    line-height: 0.35rem;
}

.container .shizhuang .jianjie_zhubao .zhubao {
    width: 100%;
    height: 100%;
    background-color: black;
    color: white;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.28rem;
    line-height: 0.35rem;
}

figure p {
    font-size: 12px;
}

.container .shizhuang .jianjie_zhubao {
    width: 30%;
    height: 3.3rem;
}

.container .shizhuang .jianjie_zhubao .jianjie_img {
    width: 100%;
}

/*================dior的历史*/
.dior_history {
    display: flex;
    max-width: 1350px;
    width: 98%;
    padding: 0.3rem;
    justify-content: space-between;
    margin: 0.2rem auto;
}

.dior_history a {
    display: inline-block;
    width: 31%;
}

.dior_history a figure {
    width: 100%;
}

.dior_history a figure .diors2_img {
    width: 100%;
}

/*=======================语言模块*/
#popup {
    /*border:1px solid red;*/
    border-top: 1px solid #999999;
    border-bottom: 1px solid #999999;
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;
    max-width: 1270px;
    margin: 0 auto;
    overflow: hidden;
    transition: all 0.5s;
}

.popup {
    height: 0 !important;
}

#popup dl dt, #popup dl dd {
    font-size: 14px;
    padding: 0;
    margin: 5px;
}

#popup dl dd a:hover {
    text-decoration: underline;
}

#popup dl dt {
    color: #999999;
}

#popup dl {
    width: 15%;
}

/*=======================页尾 footer*/
.footer {
    text-align: center;
    width: 100%;
    max-width: 1270px;
    margin: 0 auto;
}

.footer .block {
    margin: 20px auto;
    display: block;
}

.footer .block span {
    width: 1px;
    height: 1px;
    border-top: 5px solid black;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid transparent;
    display: inline-block;
    /*background: red;*/
    transform-origin: 50% 25%;
    transition: all 0.5s;
}

.rotate_180 {
    transform: rotate(180deg);
}

.footer .footerNav {
    display: flex;
    justify-content: center;
}

.footer .footerNav a {
    margin: 10px;
}

.footer .footerNav a:hover {
    text-decoration: underline;
}

.footer .img {
    display: block;
    width: 44px;
    height: 44px;
    overflow: hidden;
    margin: 0 auto;
    background-image: url("../images/indexImg/sprite-main.png");
    background-position: -101px -48px;
}




